package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 成绩填写推送记录
 * </p>
 *
 * @author hpiggy
 * @since 2024-12-15
 */
@TableName("transcript_write_push_log")
@ApiModel(value = "TranscriptWritePushLog对象", description = "成绩填写推送记录")
@Data
public class TranscriptWritePushLog implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long writePushSetId;

    private Long studentId;

    @ApiModelProperty("50")
    private String openid;

    @ApiModelProperty("1单次推送，2定时推送")
    private Integer pushType;

//    @ApiModelProperty("开始日期")
//    private LocalDate startDate;
//
//    @ApiModelProperty("截止日期")
//    private LocalDate endDate;

    private LocalDate pushDate;


    @ApiModelProperty("10")
    private String pushTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;


}
